package tk.djcrazy.instantmessage.domain;

import java.util.Date;
 
public final class ChatMessage  {
	private int senderId;
	private String senderName;
	
	private int receiver;
	private String messageContent;
	private Date sendTime;
	
 	public String getMessageContent() {
		return messageContent;
	}
	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
 	public int getReceiver() {
		return receiver;
	}
	public void setReceiver(int receiver) {
		this.receiver = receiver;
	}
 	public int getSenderId() {
		return senderId;
	}
	public void setSenderId(int senderId) {
		this.senderId = senderId;
	}
	public String getSenderName() {
		return senderName;
	}
	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}
	@Override
	public String toString() {
		return "ChatMessage [senderId=" + senderId + ", senderName="
				+ senderName + ", receiver=" + receiver + ", messageContent="
				+ messageContent + ", sendTime=" + sendTime + "]";
	}
}
